package com.weirong.smartvault.dao;

import com.weirong.smartvault.entity.CashboxConf;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Qualifier("cashboxConfRepository")
public interface CashboxConfRepository extends JpaRepository<CashboxConf, Integer>,JpaSpecificationExecutor<CashboxConf> {
    List<CashboxConf> findAllByUnitNo(Integer id);
}
